package com.lzw.mall.common.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizhenwei
 * @since 2023-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("orders")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("order_code")
    private String orderCode;
    @TableField("member_id")
    private Integer memberId;
    @TableField("order_date")
    private LocalDateTime orderDate;
    @TableField("total_price")
    private BigDecimal totalPrice;
    @TableField("order_address_id")
    private Integer orderAddressId;
    @TableField("order_details_id")
    private Integer orderDetailsId;
    @TableField("status")
    private String status;
    @TableField("pay_type")
    private String payType;

}
